% A 45 45 25 3.5 40 35 Y Y 1
% B 30 30 22 8 79 40   Y Y 1
% C 60 50 30 14 64 35  Y Y 2
% D 25 20 25 11 60 18  Y Y 1
% E 25 20 27 15 60 15  Y Y 2
% G 32 32 17 20 64 16  Y Y 2

% A   0.4437
% B   0.7164
% C   0.6384
% D   0.5361
% E   0.6875
% G   0.7591

% vol payload speed flight-time cargo
inData = ...
    [45*45*25 3.5 40 35 8*10*14;
     30*30*22 8   79 40 8*10*14;
     60*50*30 14  64 35 24*20*20; 
     25*20*25 11  60 18 8*10*14;
     25*20*27 15  60 15 24*20*20;  
     32*32*17 20  64 16 24*20*20];
x = (inData - min(inData)) ./ (max(inData)-min(inData));
x0 = [min(x(:, 1)), max(x(:, 2:end))];
x1 = abs(x - x0);
minminx = min(x1, [], 'All');
maxmaxx = max(x1, [], 'All');
rou = 0.5; % 分辨系数
Rik = (minminx + rou * maxmaxx) ./ (x1 + rou * maxmaxx);
Ri = mean(Rik, 2);
